/*
 */
package gclib;

import java.util.Collections;
import java.util.Map;
import java.util.Set;

/**Race.java
 * The first thing that you, the player, pick when creating a toon.
 * Created Jul 22, 2009 11:28:15 PM
 * @author Jason
 */
public class Race {
    private String name;
    private String size;
    private int speed;
    private String vision;
    private Set<String> languages;
    private Map<Skills.TYPE, Integer> skillBonuses;
	protected Map<Abilities.TYPE, Integer> abilityBonusMap = Collections.emptyMap();

    public Race(){

    }

	public Race(String name, Map<Abilities.TYPE, Integer> abilityBonusMap){
		this.name = name;
		this.abilityBonusMap = abilityBonusMap;
	}

	public int getSpeed() {
		return speed;
	}

	public void setSpeed(int speed) {
		this.speed = speed;
	}

	public String getVision() {
		return vision;
	}

	public void setVision(String vision) {
		this.vision = vision;
	}

    @Override
    public String toString(){
        return this.getClass().getSimpleName()+"[name:"+name+", abilityBonuses:"+abilityBonusMap+"]";
    }
}
